package news.util;

/**
 * 分页工具类
 * @author Administrator
 *
 */
public class PageController {
	
	public int getTotalPage(int count,int pageSize){
		return (count%pageSize==0)?count/pageSize:count/pageSize+1;
	}
}
